﻿

using InfluxDB.Client.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientService.Models.RealData;
/// <summary>
/// 充电电池
/// </summary>
[Measurement("OCV")]
public class HkOcvElec
{
    /// <summary>
    /// 电芯
    /// </summary>
    [Column("cell", IsTag = true)] public string? Cell { get; set; }
    /// <summary>
    /// 阶段 OCV1、OCV2、OCV3
    /// </summary>
    [Column("step", IsTag = true)] public string? Step { get; set; }
    /// <summary>
    /// 值
    /// </summary>
    [Column("value")] public double Value { get; set; }
    /// <summary>
    /// 时间
    /// </summary>
    [Column(IsTimestamp = true)] public DateTime Time { get; set; }
}
